.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
a{
    text-decoration: none;
}
*{
    user-select: none;
    list-style: none;
}
.beautiful-scrollbar{
    scrollbar-arrow-color: #f4ae21; /**//*三角箭头的颜色*/
    scrollbar-face-color: #333; /**//*立体滚动条的颜色*/
    scrollbar-3dlight-color: #666; /**//*立体滚动条亮边的颜色*/
    scrollbar-highlight-color: #666; /**//*滚动条空白部分的颜色*/
    scrollbar-shadow-color: #999; /**//*立体滚动条阴影的颜色*/
    scrollbar-darkshadow-color: #666; /**//*立体滚动条强阴影的颜色*/
    scrollbar-track-color: #666; /**//*立体滚动条背景颜色*/
    scrollbar-base-color:#273fff;; /**//*滚动条的基本颜色*/
}
.beautiful-scrollbar::-webkit-scrollbar{
    width:2px;
    height:0;
}
.beautiful-scrollbar::-webkit-scrollbar-track{
    background: #f6f6f6;
    border-radius:2px;
}
.beautiful-scrollbar::-webkit-scrollbar-thumb{
    background: #aaa;
    border-radius:2px;
}
.beautiful-scrollbar::-webkit-scrollbar-thumb:hover{
    background: #747474;
}
.beautiful-scrollbar::-webkit-scrollbar-corner {
    background: #f6f6f6;
}
p{
    margin: 0;
}
html{
    height: 100%;
    width: 100%;
}
body{
    margin:0;
    padding: 0;
    height: 100%;
    width: 100%;
    min-width: 500px;
}

.window{
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
}
.window > div{
    height: 100%;
}


/*huyao*/


.home-part{
    z-index: 99;
    position: fixed;
    float: left;
    width: 55px;
    background-color: mediumseagreen;
}

.home-part-navi{
    font-family: 'icomoon';
    font-size: 22px;
    background-color: mediumseagreen;
    text-align: center;
    line-height: 55px;
    width: 55px;
    height: 55px;
    margin:20px 0 0 0;
    padding: 0;
    color: white;
    transition: ease 0.5s;
    position: relative;
    /* border-radius: 5px; */
}
.home-part-navi:hover{
    background-color:#5ac68a;
}
#setting-icon{
    font-family: 'icomoon';
    font-size: 22px;
    color: white;
    position: absolute;
    bottom: 0;
    margin: 0 5px 10px 5px;
    line-height: 45px;
    text-align: center;
    width: 45px;
    height: 45px;
    background-color: mediumseagreen;
    border-radius: 50%;
    transition: ease 0.5s;
}
#setting-icon:hover{
    background-color: #5ac68a;
    transform: rotate(360deg);
}
#add-list{
    display:none;
    position: absolute;
    top: 55px;
    left: 55px;
    background-color: #86dcac;
    padding: 0;
    margin: 0;
    border-top-right-radius:10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.add-list-item{
    font-family: "Microsoft YaHei", "Segoe UI", "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    height: 40px;
    width: 100px;
    color: white;
    line-height: 40px;
    list-style: none;
    transition: ease 0.5s;
}
.add-list-item:hover{
    background-color: #6dd299;
}








.link-list-part{
    resize: horizontal;
    float: left;
    width: 35%;
    padding-left: 55px;
    background-color: white;
    box-sizing: border-box;
    position: relative;
}
.message-part{
    position: relative;
    float: left;
    width: 65%;
    background: 0 0 url('../img/01.jpg') no-repeat;
    background-size: cover;
}

.list-header{
    overflow: hidden;
    padding-left: 55px;
    box-sizing: border-box;
    z-index: 98;
    left: 0;
    width: 100%;
    background-color: #d6ecff;
    position: absolute;
    height: 180px;
    top: 0;
}
.list-header img{
    height: 60px;
    width: 60px;
    border-radius: 50%;
    margin-left: 30px;
    vertical-align: bottom;
    float: left;
}
#my-head-box{
    width: 80%;
    height: 90px;
    padding-top: 20px;
    box-sizing: border-box;
    margin:0;
    overflow: hidden;
}
.list-header p{
    margin: 0;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
}
.list-header p:nth-of-type(1){
    margin-top: 10px;
}
.list-header input{
    display: block;
    height: 30px;
    width: 50%;
    outline: none;
    border:none;
    box-sizing: border-box;
    position: absolute;
    bottom: 1px;

}
.links-box{
    padding-top: 180px;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;

}



.friend-items,.group-items{
    width: 100%;
    min-width: 400px;
    min-height: 70px;
    box-sizing: border-box;
    margin-left: 3px;
    margin-bottom: 1px;
    border-left: 5px solid transparent;
    position: relative;
}
.operation-list{
    width: 100%;
    height: 40px;
    padding:0;
    margin:0;
    clear: both;
    border-bottom: 1px black solid;
    display: none;
}
.more-btn{
    height: 30px;
    width: 30px;
    margin: 20px 0 20px 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    position: absolute;
    top: 0;
    font-weight: lighter;
    right: 50px;
}
.more-btn:hover{
    background-color: white;
}
.operation-list>a{
    float: left;
    display: inline-block;
    width: 33.3333%;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: black;
    font-size: 20px;
    font-weight: lighter;
    transition: ease 0.4s;
}
.operation-list>a:hover{
    background-color: #ffffff;
    text-decoration: underline;
}
.message-count{

    float: right;
    height: 24px;
    width: 24px;
    color: white;
    background-color: red;
    margin-top: 24px;
    margin-right:20px;
    line-height: 24px;
    text-align: center;
    font-size: 13px;
    border-top-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    display: none;
}


.friend-items:hover,.group-items:hover, .system-items:hover{
    background-color: #eeecec;
}
.checkbox-for-friend{
    float: left;
    width: 20px;
    height: 20px;
    margin:25px 0 25px 0;
    display: none;
}
.message-box-header{
    width: 100%;
    height: 8%;
    opacity: 0.5;
    background-color: rgb(220, 236, 248);
}
.message-item-box{
    height: 60%;
    overflow: auto;
}
.message-input-box{
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 30%;
    min-height: 190px;
    position: absolute;
    bottom: 0;
    overflow: auto;
}
textarea{
    font-family: "Microsoft YaHei UI", serif;
    padding-top: 10px;
    padding-left: 5px;
    padding-bottom: 10px;
    box-sizing: border-box;
    border:none;
    font-size: 16px;
    width: 100%;
    height: 65%;
    outline: none;
    resize: none;
    margin: 8px 0 8px 0;
}
#btn-box{
    padding-right: 10px;
    position: fixed;
    bottom: 0;
    right: 0;
    min-height: 40px;
    box-sizing: border-box;
    padding-bottom: 10px;
}
div>button{
    float: left;
    width: 80px;
    font-family: "Microsoft YaHei UI", serif;
    font-size: 15px;
    font-weight:lighter;
    border: none;
    border-radius: 2px;
    color: white;
    height: 30px;
    margin-left: 20px;
    background-color: #2d9bff;
    cursor: pointer;
}
.friend-items>img,.group-items>img{
    float: left;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin: 10px 10px 10px 10px;
}
.link-info{
    float: left;
    margin: 15px 0 15px 0;
    height: 40px;
    overflow: hidden;
}
.link-info>p{
    margin: 0;
    font-size: 15px;
}
.bubble-box-self,.bubble-box-others{
    margin-top: 16px;
    height: max-content;
    min-height: 50px;
    width: 100%;
    min-width: 400px;
}
.message-item-box img{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 10px;
}
.bubble-box-self>*{
    float: right;
}
.bubble-box-others>*{
    float: left;
}
.bubble-box-self>img{
    position: sticky;
    right: 0;
}
.bubble-box-self>.bubble{
    position: sticky;
    right: 70px;
}

.bubble-box-others>.bubble{
    position: sticky;
    left: 70px;
}
.bubble-box-others>.bubble::before{
    content: "";
    display: block;
    position: absolute;
    height: 0;
    width: 0;
    border-bottom: 15px solid transparent;
    border-left: 0 solid blue;
    border-top:0 solid yellow;
    border-right: 20px solid white;
    transform: rotate(20deg);
    left: -14px;
    top: 10px;
}
.bubble-box-self>.bubble::after{
    content: "";
    display: block;
    position: absolute;
    height: 0;
    width: 0;
    border-bottom: 15px solid transparent;
    border-left: 20px solid white;
    border-top:0 solid yellow;
    border-right: 0 solid white;
    transform: rotate(-20deg);
    right:-14px;
    top: 10px;
}
.bubble{
    font-family: monospace;
    font-size: 13px;
    user-select: text;
    border-radius: 10px;
    box-sizing: border-box;
    margin-top: 21px;
    min-height: 50px;
    max-width: 250px;
    background-color: white;
    padding: 15px 10px 15px 10px;

}

#chat-box-title{
    font-size: 20px;
    padding-top: 15.665px;
    text-align: center;
}

pre::selection{
    background-color: #f4ae21;
    color: white;
}
pre{
    user-select: text;
    vertical-align: middle;
    word-wrap:break-word;
    white-space: break-spaces;
    margin:0;
}

.comment-label-self,.comment-label-others{
    position: absolute;
    top: -31px;
    color: white;
    font-weight: lighter;
    font-size: 10px;
    margin-top: 10px;
    width: max-content;
    height: 16px;
    line-height: 16px;
    padding: 0 5px 0 5px;
    border-radius: 2px;
}
.comment-label-self{
    right: 0;
    background-color: #3cb371;
}
.comment-label-others{
    left: 0;
    background-color: #c98100;
}

#group-create-box{
    color: white;
    min-width: 300px;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #fd8908;
    border-radius: 6px;
    box-sizing: border-box;
    display: none;
}
#group-create-box>div{
    float: left;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 6px;
    transition: ease 0.4s;
}
#group-create-box>div:nth-of-type(1){
    width: 50%;
    overflow: hidden;
}
#group-create-box>div:nth-of-type(2){
    width: 25%;
}
#group-create-box>div:nth-of-type(3){
    width: 25%;
}
#group-create-box>div:hover{
    background-color:#ffa33c ;
}
.system-items{
    width: 100%;
    height: 85px;
    padding-top: 15px;
    padding-left: 10px;
    box-sizing: border-box;
    position: relative;
}

.system-items-p1{
    min-width: 300px;
    height: 21px;
}

.system-items-p2{
    min-width: 300px;
    height: 21px;
}

.system-items-p3{
    width: fit-content;
    float: right;
}
.system-items-p3>button{
    color: white;
    margin:0 20px 0 10px;
    width: 40px;
    outline: none;
    border:none;
    border-radius: 4px;
    cursor: pointer;
    transition: ease 0.4s;
}
.refuse-btn{
    background-color: #c60e0e;

}
.refuse-btn:hover{
    box-shadow: 0 0 4px #c60e0e;
}
.agree-btn{
    background-color: green;

}

.agree-btn:hover{
    box-shadow: 0 0 4px green;
}
.navi-count{
    display: block;
    position: absolute;
    background-color: red;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    top: 8px;
    right: 10px;
    transition: 0.3s;
    display: none;
}
.navi-count:hover{
    border-top-right-radius: 4px;
    transform: rotate(30deg);
    border-bottom-left-radius: 4px;
}

.time-label{
    background-color: #bcbcbc;
    color: white;
    height: 15px;
    line-height: 12px;
    font-family: "Microsoft YaHei", "Segoe UI", "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 12px;
    text-align: center;
    width: 80px;
    position: absolute;
    left: 5px;
    border-radius: 8px;
    bottom:7px;
}

#cover-offline{
    height: 100%;
    width: 100%;
    background-color: rgba(188, 188, 188, 0.75);

    z-index: 10000;
    position: absolute;
    display: none;
}
#cover-offline>div{
    width: 65%;
    height: 400px;
    margin:200px auto 0 auto;
    border-top: 50px solid #3cb371;
    color: #3cb371;
    font-size: 30px;
    text-align: center;
    line-height: 400px;
    background-color: white;
    opacity: 1.0;
}

#head-cover{

}